Linux Shell中的IF語句知識整理 IF語句中方括號里一定要注意空格! 判斷字符串:-n, -z, =,==, !=. 判斷整數:-eq(==), -ne(!=), -gt(>), -lt(<), -ge(>=), ...